Hi, and apologies if this is an easy question. I've been trying various things all day to no avail. if I create an movie clip in canvas mode in Animate, and name it "Object1", and then inside that, make another movie clip named "Object2", I seem to be unable to access "Object2" at the start of a frame. For example, see the following code: var _this = this; console.log(_this.object1); // Prints an actual object to the console log. You can even see Object 2 inside there with values. console.log(_this.object1.object2); // Undefined. However, if I add it a on click function, as shown below, it works. _this.on('click', function() { console.log(_this.object1); // Prints object 1 as above. console.log(_this.object1.object2); // print object 2. }); Does anyone know why it does this, and how I'm meant to get around it? It's basic functionality that I've been used to in flash, but I'm not sure how it works in animate. I figure it's a timing thing? perhaps object 2 isn't ready on time? But I can't find any documentation on this at all. Thanks
... View more